﻿//源代码编码必须是: UTF-8(BOM)
#if _MSC_VER >= 1600
#pragma execution_character_set("utf-8")
#endif

#ifndef STUDENT_H
#define STUDENT_H

#include <QObject>

class Student : public QObject
{
    Q_OBJECT
public:
    explicit Student(QObject *parent = nullptr);

signals:

public slots:
    //早期Qt版本必须写在public slots，高级版本可以写在public或者全局下
    //返回值是void，需要声明，需要实现
    //可以有参数，可以发生重载
    void treat();
    void treat(QString foodName);
};

#endif // STUDENT_H
